// Copyright 2023 Srhino Co., Ltd. All rights reserved.

package v4

import (
	v2 "git.ouryun.cn/lzj1/grpc-bidirectional-stream/pkg/apis/v2"
)

type AgentConfig struct {
	// WebAddress is the address of the web server.
	WebAddress string
	// GrpcAddress is the address of the grpc server.
	GrpcAddress string
	// GrpcServerType is the type of the grpc server.
	GrpcClientId v2.ServerType
}

type RequestProcessFunc func(message *v2.StreamMessage)
